package com.feng.shiro.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {
    @RequestMapping("/user/add")
    public String toAddPage(){
        return "user/add";
    }

    @RequestMapping("/user/update")
    //应该可以和添加合并
    public String toUpdatePage(){
        return "user/update";
    }
}
